home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir39 / doserrng.zip / DOSERROR.SRC < prev   
Text File  |  1993-03-05  |  4KB  |  142 lines

  1. !short: DOS Error Codes
  2. ^bError Codes^b
  3.  
  4.     All the FCB functions report an error by returning 0FFh in the AL
  5.     register.  Other functions report an error by setting the carry flag
  6.     and placing an error code in the AX register.  DOS 2.x functions
  7.     return the error codes 0 - 12h.  Under DOS 3.x, it is best to call
  8.     function 59h to obtain more detailed error information.
  9.  
  10. ^b   CODE    Meaning^b
  11. ^u Hex  Dec  ***********************^u
  12.  00h  00.  No error
  13.  01h  01.  Invalid function number
  14.  02h  02.  File not found
  15.  03h  03.  Path not found
  16.  04h  04.  No handle available
  17.  05h  05.  Access denied
  18.  06h  06.  Invalid handle
  19.  07h  07.  Memory control blocks destroyed
  20.  08h  08.  Insufficient memory
  21.  09h  09.  Invalid memory block address
  22.  0Ah  10.  Invalid environment
  23.  0Bh  11.  Invalid format
  24.  0Ch  12.  Invalid access code
  25.  0Dh  13.  Invalid data
  26.  0Eh  14.  Reserved
  27.  0Fh  15.  Invalid drive specification
  28.  10h  16.  Attempt to remove current dir.
  29.  11h  17.  Not same device
  30.  12h  18.  No more files
  31.  13h  19.  Disk write-protected
  32.  14h  20.  Unknown unit
  33.  15h  21.  Drive not ready
  34.  16h  22.  Unknown command
  35.  17h  23.  Disk data error (CRC)
  36.  18h  24.  Bad request structure length
  37.  19h  25.  Seek error
  38.  1Ah  26.  Unknown media type
  39.  1Bh  27.  Sector not found
  40.  1Ch  28.  Printer out of paper
  41.  1Dh  29.  Write fault
  42.  1Eh  30.  Read fault
  43.  1Fh  31.  General failure
  44.  20h  32.  File sharing violation
  45.  21h  33.  File locking violation
  46.  22h  34.  Invalid disk change
  47.  23h  35.  FCB unavailable
  48.  24h  36.  Sharing buffer overflow
  49. ^u    .^u
  50. ^u    .      (Reserved)^u
  51. ^u    .^u
  52.  26h  38.  Cannot complete file operation
  53. ^u    .^u
  54. ^u    .^u
  55. ^u    .^u
  56. ^u    .      (Reserved)^u
  57. ^u    .^u
  58. ^u    .^u
  59. ^u    .^u
  60.  32h  50.  Network request not supported
  61.  33h  39.  Remote computer not listening
  62.  34h  40.  Duplicate name on network
  63.  35h  41.  Network name not found
  64.  36h  42.  Network busy
  65.  37h  43.  Network device no longer exists
  66.  38h  44.  Net BIOS command limit exceeded
  67.  39h  45.  Network adapter hardware error
  68.  3Ah  46.  Incorrect response from network
  69.  3Bh  47.  Unexpected network error
  70.  3Ch  48.  Incompatible remote adapter
  71.  3Dh  49.  Print queue full
  72.  3Eh  50.  Not enough space for print file
  73.  3Fh  51.  Print file was deleted
  74.  40h  52.  Network name was deleted
  75.  41h  65.  Access denied
  76.  42h  66.  Network device type incorrect
  77.  43h  67.  Network name not found
  78.  44h  68. Network name limit exceeded
  79.  45h  69. Net BIOS session limit exceeded
  80.  46h  70. Temporarily paused
  81.  47h  71. Network request not accepted
  82.  48h  72. Print or disk redirection paused
  83. ^u    .^u
  84. ^u    .^u
  85. ^u    .^u
  86. ^u    .      (Reserved)^u
  87. ^u    .^u
  88. ^u    .^u
  89.  50h  80.  File exists
  90.  51h  81.  Reserved
  91.  52h  82.  Cannot make directory entry
  92.  53h  83.  Critical-error interrupt failure
  93.  54h  84.  Too many redirections
  94.  55h  85.  Duplicate redirection
  95.  56h  86.  Invalid password
  96.  57h  87.  Invalid parameter
  97.  58h  88.  Network device fault
  98.  59h  89. Not supported by network
  99.  5Ah  90. Required component not installed
  100.   ──────────────────────────────────────────────────────────────────────────
  101.  
  102.   The following information is returned by the DOS function 59h:
  103.  
  104. ^b  Error class:^b
  105.  
  106.     ^bCode    Meaning^b
  107.      01h    Out of resource
  108.      02h    Temporary situation; try again later
  109.      03h    Authorization
  110.      04h    Internal error in system software
  111.      05h    Hardware failure
  112.      06h    System failure; serious failure of system software
  113.      07h    Application software error
  114.      08h    Item requested not found
  115.      09h    Bad format (e.g., unrecognizable disk)
  116.      0Ah    Item locked
  117.      0Bh    Media error (e.g., CRC error)
  118.      0Ch    Already exists
  119.      0Dh    Unknown
  120.  
  121. ^b  Suggested action:^b
  122.  
  123.     ^bCode    Meaning^b
  124.      01h    Try again now.
  125.      02h    Try again (a few times) after a pause, then prompt user to
  126.             continue or abort.
  127.      03h    Ask user to correct input, then retry.
  128.      04h    Orderly abort; close files, then shut down the application.
  129.      05h    Immediate abort; don't even try to close files.
  130.      06h    Ignore.
  131.      07h    Ask user to do something (like insert appropriate disk), then
  132.             retry.
  133.  
  134. ^b  Locus of error:^b
  135.  
  136.     ^bCode    Meaning^b
  137.      01h    Unknown
  138.      02h    Block device (e.g., disk drive)
  139.      03h    Network
  140.      04h    Serial device
  141.      05h    Memory
  142.